package com.park.service;


import java.util.List;
import java.util.Map;

import com.park.model.Park;
import com.park.model.WebUtil;
import com.park.model.WxPaidrecord;

public interface WxPaidrecordService {
    /**
     * 根据openId查询缴费记录
     * @param wxPaidrecord
     * @return
     */
    public List<Map<String, Object>> selectWxPaidrecordList(WxPaidrecord wxPaidrecord);

    /**
     * 添加缴费记录
     * @param wxPaidrecord
     * @return
     */
    public boolean insertWxPaidrecord(WxPaidrecord wxPaidrecord);

    /**
     * 修改缴费记录
     * @param wxPaidrecord
     * @return
     */
    public boolean updateWxPaidrecord(WxPaidrecord wxPaidrecord);

    /**
     * 根据订单编号查询缴费记录
     * @param outTradeNo
     * @return
     */
    public WxPaidrecord selectWxPaidrecordByOutTradeNo(String outTradeNo);

    /**
     * 根据 userId 查询缴费记录
     * @param wxPaidrecord
     * @return
     */
    public List<Map<String, Object>> selectWxPaidrecordListByUserId(WxPaidrecord wxPaidrecord);

    /**
     * 根据 userId,paidTime 查询缴费记录
     * @param webUtil
     * @return
     */
	public List<WxPaidrecord> selectWxPaidrecordListByUserIdV2(WebUtil webUtil);

	  /**
     * 根据 userId,paidTime 查询缴费记录总数
     * @param webUtil
     * @return
     */
	public int selectWxPaidrecordListByUserIdCount(WebUtil webUtil);

	  /**
     * 根据 userId,startTime,endTime 查询停车场
     * @param webUtil
     * @return
     */
	public List<Park> getParkByUserId(WebUtil webUtil);
}
